<%@ page import="java.nio.channels.SeekableByteChannel" %>
<%@ page contentType="text/html;charset=UTF-8"
         session="true"
         language="java" %>
<html>
<head>
    <title>使用Session内置对象</title>
</head>
<body>
<%
    pageContext.setAttribute("name","idea2016");
    session.setAttribute("na","坑啊");
    session.getId();//不需要用Servlet去获取
    request.getContextPath();
    response.getHeader("application");
    application.getContextPath();
    config.getInitParameter("name");
%>
</body>
</html>
